<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户分页列表</title>
    <link href="/static/web-frame/element/css/index.css" rel="stylesheet"/>
    <script src="/static/web-frame/element/js/vue.js"></script>
    <script src="/static/web-frame/element/js/index.js"></script>
    <script src="/static/web-frame/element/js/axios.js"></script>
    <script src="/static/web-frame/lib/app.js"></script>
</head>
<body>
<div id="app">

</div>
<script>
    var Main = {
        data() {
            return {
                keyword:'',
                tableData: [],
            }
        },
        created(){
            api.GET('/user/getUser',{'page':1,'size':10,'keyword':this.keyword},(result)=> {
                this.tableData=result.data.records;
                this.total=result.data.total;
            })
        },
        methods: {

        }
    }
    var Ctor = Vue.extend(Main)
    new Ctor().$mount('#app')
</script>
</body>
</html>